package com.Ritany3.subject.application.dto;

import com.Ritany3.subject.common.entity.PageInfo;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 题目信息表DTO
 *
 * @author makejava
 * @since 2025-04-06 11:13:56
 */

@Data
public class SubjectInfoDTO extends PageInfo implements Serializable {
    private static final long serialVersionUID = -36926580545583033L;
/**
     * 主键
     */
    private Integer id;
/**
     * 题目名称
     */
    private String subjectName;
/**
     * 题目难度
     */
    private Integer subjectDifficult;
/**
     * 出题人名
     */
    private String settleName;
/**
     * 题目类型 1单选 2多选 3判断 4简答
     */
    private Integer subjectType;
/**
     * 题目分数
     */
    private Integer subjectScore;
/**
     * 题目解析
     */
    private String subjectParse;
/**
 *题目答案
 */

private String subjectAnswer;
    /**
     *分类id
     */
private List<Integer> categoryIds;
    /**
     *标签id
     */
    private List<Integer> labelIds;

    /**
     *标签
     */
    private List<String> labelName;


    private  List<SubjectAnswerDTO> optionList;

    /**
     *分类id
     */
    private Long categoryId;

    private Long labelId;
    private String keyWord;
    /**
     * 创建人昵称
     */
    private String createUser;

    /**
     * 创建人头像
     */
    private String createUserAvatar;

    /**
     * 题目数量
     */
    private Integer subjectCount;
    /**
     * 是否被当前用户点赞
     */
    private Boolean liked;
    /**
     * 当前点赞数量
     */

    private Integer likedCount;
}

